package com.why.dao;

import com.why.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.why.vo.CategoryVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品分类
 * 
 * @author why
 * @email 1585049082@qq.com
 * @date 2021-10-24 20:16:08
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {

    List<CategoryVo> queryList();

    List<CategoryVo> selectFirstLevelCategories();
}
